package com.wellgoon.test.jse81;

public class Circle {
    double radius;
    public double area;

    public Circle(double r) {
        radius = r;
    }

    public double getArea() {
        return  Math.PI * radius * radius;
    }

    public double getRadius() {
        return radius;
    }

    void setRadius(double radius) {
        this.radius = radius;
    }

    public void setArea(double area) {
        this.area = area;
    }
}

class App{
    public static void main(String[] args) {
        Circle circle = new Circle(17.4);
        circle.area = Math.PI * circle.getRadius() * circle.getRadius();

        int row = 10;
        for (; row > 0; ) {
            int col = row;
            while (col >= 0) {
                System.out.printf(col+" ");
                col -=2;
            }
            row = row/col;
        }
    }
}